package net.ericaro.neojavagen.classes ;
import net.ericaro.neojavagen.classes.Dims;
import net.ericaro.neojavagen.types.Identifier ;

/**
* *<pre> VariableDeclaratorId :
    Identifier Dims?
</pre>
*/
public class VariableDeclaratorId   {

Identifier identifier;
Dims dims ;

public VariableDeclaratorId( Identifier identifier, Dims dims ){
	this.identifier = identifier; this.dims = dims ;
	}public VariableDeclaratorId( Identifier identifier ){
this.identifier = identifier ;
}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( this.identifier ).append(" ");
if (this.dims !=null ) stringbuilder.append( this.dims ).append(" ") ;
	return stringbuilder.toString();
}

}
